<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>角色管理</title>
    <%@include file="../../../static/common/common.jsp" %>
    <script src="/static/js/role.js"></script>
</head>
<!--非常关键-->
<jsp:include page="/static/style/loader.jsp"></jsp:include>
<body>
<table id="role_datagrid"></table>
<div id="role_btns">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">新增</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true"
       data-cmd="del">删除</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
</div>
<div id="save_btns">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>
<div id="role_dialog">
    <form id="role_form" method="post">
        <input id="roleId" type="hidden" name="id">
        <table align="center" style="margin-top: 15px" cellspacing="10">
            <tr>

                <td>角色编号:<input class="easyui-textbox" name="sn" prompt="请输入角色编号"
                ></td>

                <td>角色名称:<input class="easyui-textbox" name="name"></td>
            </tr>
            <tr>
                <td>
                    <table id="allPermissions"></table>
                </td>
                <td>
                    <table id="selectedPermissions"></table>
                </td>
            </tr>
            <tr>
                <td><input class="easyui-combotree" id="menu_combotree"></td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
